/*Nama File : FileExp.h
  Pembuat	: Ni Made Satvika Iswari /23512077
  Tanggal 	: 2 November 2012
  Deskripsi	: Definisi Class File Exception
  */
  
#ifndef _FILE_EXP_H
#define _FILE_EXP_H

#include <iostream>
using namespace std;

const int CANNOT_OPEN = 0;
const int ERROR_FORMAT = 1;

class FileExp{
	private:
		static int num_ex;
		static string msg[];
		const int msg_id;
	public:
		FileExp();
		FileExp(int x);
		FileExp(const FileExp&);
		FileExp& operator=(const FileExp&);
		~FileExp();
		
		void DisplayMsg() const;
		static int GetNumException();
};

#endif
